home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v8n01.arc
/
VOLUME.BAT
< prev
Wrap
DOS Batch File
|
1988-12-13
|
550b
|
17 lines
ECHO OFF
IF %4==has GOTO nolabel
IF NOT %5==%DISKID% GOTO WRONG
ECHO Yes, the disk in drive %3: is labeled "%DISKID%".
ECHO This is just a sample VOLUME.BAT. Create your own
ECHO version that DOES something when the disk is verified.
GOTO END
:nolabel
ECHO The disk you put in drive %3: has no label.
ECHO Put the disk labelled "%DISKID%" in drive %3: and try again.
GOTO END
:WRONG
ECHO The disk in drive %3: is labelled "%5", not "%DISKID%".
ECHO Put the disk labelled "%DISKID%" in drive %3: and try again.
:END
DEL CHEKLABL.BAT